package com.smile.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ToString
@TableName("feisuan_media")
public class FeisuanMedia implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField(value = "task_type")
    private Integer taskType;

    @TableField("airline_id")
    private Integer airlineId;
    @TableField("file_url")
    private String fileUrl;
    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("flight_id")
    private String flightId;

    @TableField("drone_id")
    private Long droneId;

    @TableField("organization_id")
    private Long organizationId;

    @TableField("airport_id")
    private Long airportId;

    @TableField("plan_name")
    private String planName;

    @TableField("file_name")
    private String fileName;

    @TableField("absolute_altitude")
    private BigDecimal absoluteAltitude;

    @TableField("relative_altitude")
    private BigDecimal relativeAltitude;

    @TableField("latitude")
    private BigDecimal latitude;

    @TableField("longitude")
    private BigDecimal longitude;

    @TableField("payload_model_key")
    private String payloadModelKey;

    @TableField("drone_model_key")
    private String droneModelKey;

    @TableField("take_time")
    private LocalDateTime takeTime;

    @TableField("dir")
    private String dir;

    @TableField("parent_id")
    private Long parentId;

    @TableField("file_type")
    private Integer fileType;

    @TableField("suffix")
    private String suffix;
}
